import request from '@/utils/request'

// 02-03-1根据id查询模板内容
export function getCustomerItemsByid(params) {
  return request({
    url: '/product-ts/customer/items/getCustomerItemsByid',
    method: 'get',
    params
  })
}

// 02-03-3根据参数查询模板内容
export function getCustomerItemsList(data) {
  return request({
    url: '/product-ts/customer/items/getCustomerItemsList',
    method: 'post',
    data
  })
}

// 02-03-2分页查询模板内容集合
export function getCustomerItemsListPage(data) {
  return request({
    url: '/product-ts/customer/items/getCustomerItemsListPage',
    method: 'post',
    data
  })
}

// 02-03-5修改保存模板内容
export function modifyCustomerItems(data) {
  return request({
    url: '/product-ts/customer/items/modifyCustomerItems',
    method: 'post',
    data
  })
}

// 02-03-6删除模板内容多个逗号分隔
export function removeCustomerItems(data) {
  return request({
    url: '/product-ts/customer/items/removeCustomerItems',
    method: 'post',
    data
  })
}

// 02-03-4新增保存模板内容
export function saveCustomerItems(data) {
  return request({
    url: '/product-ts/customer/items/saveCustomerItems',
    method: 'post',
    data
  })
}
